package x.ovo.wechat.bot.common.exception;

import lombok.experimental.StandardException;
import x.ovo.wechat.bot.common.contact.RetrievalType;

/**
 * 检索策略异常
 *
 * @author ovo, created by 2024/05/03
 */
@StandardException
public class RetrievalStratrgyException extends RuntimeException{
    public RetrievalStratrgyException(RetrievalType type) {
        super(String.format("未找到检索类型 [%s] 对应的检索策略", type));
    }
}
